﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AircraftBattleClient
{
    public class ClientUtility
    {
        static int missileCounter = 0;

        public static string GetAircraftImageName(int craftId)
        {
            return "imgAircraft_" + craftId;
        }

        public static string GetMissileId(int aircraftId)
        {
            return aircraftId + "_" + missileCounter++;
        }

        public static string GetMissileImageName(string missileId)
        {
            return "imgMissile_" + missileId;
        }
    }
}
